<!DOCTYPE html>
<html>
<meta charset="utf-8">
<link rel="shortcut icon" href="favicon.ico">
<link href="../../../static/css/plugins/chosen/chosen.css"/>
<link href="../../../static/css/plugins/bootstrap-table/bootstrap-table.min.css"/>
<link href="../../../static/css/bootstrap.min.css" rel="stylesheet">
<link href="../../../static/css/font-awesome.min.css" rel="stylesheet">
<link href="../../../static/css/plugins/toastr/toastr.min.css" rel="stylesheet">
<link href="../../../static/css/animate.css" rel="stylesheet">
<link href="../../../static/css/style.css" rel="stylesheet">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<input id="deptId" name="deptId" th:value="${sysDept.deptId}"
								class="hidden">
							<div class="form-group">
								<label class="col-sm-2 control-label">上级部门：</label>
								<div class="col-sm-10">
									<input id="parentId" name="parentId" class="hidden"> <input
										id="deptName" name="deptName" class="form-control" type="text"
										style="cursor: pointer;" onclick="openDept()"
										readonly="readonly" placeholder="所属部门">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">部门名称：</label>
								<div class="col-sm-10">
									<input id="name" name="name" th:value="${sysDept.name}"
										class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">所属区域：</label>
								<div class="col-sm-8">
									<input id="areaId" name="areaId" class="hidden">
									<input id="areaName" name="areaName" class="form-control" type="text"
										   style="cursor: pointer;" onclick="openAreaPopWin('areaId','areaName')"
										   readonly="readonly" placeholder="点击选择区域" required>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">排序：</label>
								<div class="col-sm-10">
									<input id="orderNum" name="orderNum" th:value="${sysDept.orderNum}"
										class="form-control" type="text">
								</div>
							</div>
							<!--暂时不用<div class="form-group">-->
								<!--<label class="col-sm-3 control-label">状态：</label>-->
								<!--<div class="col-sm-8">-->
									<!--<input id="delFlag" name="delFlag" th:value="${sysDept.delFlag}"-->
										 <!--type="checkbox">正常-->
								<!--</div>-->
							<!--</div>-->
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script src="../../../static/js/public.js"></script>
	<script src="../../../static/js/jquery.min.js?v=2.1.4"></script>
	<script src="../../../static/js/vue.min.js"></script>
	<script src="../../../static/js/bootstrap.min.js?v=3.3.6"></script>
	<script src="../../../static/js/plugins/bootstrap-table/bootstrap-table.min.js"></script>
	<script src="../../../static/js/plugins/bootstrap-table/bootstrap-table-mobile.min.js"></script>
	<script src="../../../static/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.min.js"></script>
	<script src="../../../static/js/plugins/validate/jquery.validate.min.js"></script>
	<script src="../../../static/js/plugins/validate/messages_zh.min.js"></script>
	<script src="../../../static/js/plugins/jsTree/jstree.min.js"></script>
	<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.min.js"></script>
	<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.extension.js"></script>
	<script src="../../../static/js/plugins/jqTreeGrid/jquery.treegrid.bootstrap3.js"></script>
	<script src="../../../static/js/plugins/chosen/chosen.jquery.js"></script>
	<script src="../../../static/js/plugins/layer/layer.js"></script>
	
	<!--summernote-->
	<script src="../../../static/js/plugins/summernote/summernote.js"></script>
	<script src="../../../static/js/plugins/summernote/summernote-zh-CN.min.js"></script>
	<script src="../../../static/js/ajax-util.js"></script>
	<script type="text/javascript" src="../../../static/js/appjs/common/util/popwin.js"></script>
	<script type="text/javascript" src="../../../static/js/appjs/system/sysDept/edit.js">
	</script>
</body>
</html>
